import http from "./http";
const getPopularDataApi = (options) => http.get("/rated/list", options);
const getMoviesDataApi = (options) => http.get("/movies/list", options);
const getCityDataApi = (options) => http.get("/area/list", options);
const postMoviesDataApi = (data) => http.post("/movies/more", data);
const postMoviesDetailApi = (id) => http.post("/movies/detail", id);
export {
  getPopularDataApi,
  getMoviesDataApi,
  postMoviesDataApi,
  postMoviesDetailApi,
  getCityDataApi,
};
